package com.sleet.yuemiao.pojo;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * @program: yuemiao
 * @ClassName TestDto
 * @description:
 * @author: Liyongxing
 * @create: 2021-12-07 19:53
 **/
@Data
public class TestDto implements Cloneable, Serializable {
    @NotEmpty(message = "不能为空")
    private String name;
    @Override
    public  Object clone() throws CloneNotSupportedException {
        return super.clone();
    }
}
